import type { NavbarConfig } from 'vuepress'

export const navbarZh: NavbarConfig = [
    {
        text: '后端',
        children: [
            {
                text: 'Java入门基础',
                link: `/zh/backend/Java入门基础/`
            },
            {
                text: 'Java发送邮件',
                link: '/zh/backend/Java发送邮件',
            },
            {
                text: 'Java并发编程',
                link: '/zh/backend/Java并发编程',
            },
            {
                text: 'Java文件操作',
                link: '/zh/backend/Java文件操作',
            },
            {
                text: 'Java知识总结',
                link: '/zh/backend/Java知识总结',
            },
            {
                text: 'Java获取路径方式',
                link: '/zh/backend/Java获取路径方式',
            },
            {
                text: 'SpringBoot2',
                link: '/zh/backend/SpringBoot2',
            },
        ],
    },
    {
        text: '插件',
        children: [
            {
                text: '常用功能',
                children: [
                    '/zh/reference/plugin/back-to-top.md',
                    '/zh/reference/plugin/container.md',
                    '/zh/reference/plugin/external-link-icon.md',
                    '/zh/reference/plugin/google-analytics.md',
                    '/zh/reference/plugin/medium-zoom.md',
                    '/zh/reference/plugin/nprogress.md',
                    '/zh/reference/plugin/register-components.md',
                ],
            },
            {
                text: '内容搜索',
                children: [
                    '/zh/reference/plugin/docsearch.md',
                    '/zh/reference/plugin/search.md',
                ],
            },
            {
                text: 'PWA',
                children: [
                    '/zh/reference/plugin/pwa.md',
                    '/zh/reference/plugin/pwa-popup.md',
                ],
            },
            {
                text: '语法高亮',
                children: [
                    '/zh/reference/plugin/prismjs.md',
                    '/zh/reference/plugin/shiki.md',
                ],
            },
            {
                text: '主题开发',
                children: [
                    '/zh/reference/plugin/active-header-links.md',
                    '/zh/reference/plugin/git.md',
                    '/zh/reference/plugin/palette.md',
                    '/zh/reference/plugin/theme-data.md',
                    '/zh/reference/plugin/toc.md',
                ],
            },
        ],
    },
    {
        text: '年终总结',
        children: [
            {
                text: '2021',
                link: '/zh/year-end-review/2021/',
            },
            {
                text: '2022',
                link: '/zh/year-end-review/2022/',
            }
        ]
    }
]